package com.bjpowerndoe.ylb.web.model.vo;

import cn.hutool.core.util.PhoneUtil;

public class InvestRankVO {
    private String phone;
    private Double money;

    public String getPhone() {
        if (PhoneUtil.isPhone(phone)){
            phone = phone.substring(0,3) + "******" + phone.substring(9,11);
        } else {
            phone = "---";
        }
        return phone;
    }

    public Double getMoney() {
        return money;
    }

    public void setPhone(String phone) {
       this.phone = phone;
    }

    public void setMoney(Double money) {
        this.money = money;
    }
}
